
%h2 Ride details

%p
  %b Distance: 
  =h @ride.distance

%p
  %b Time: 
  =h @ride.time

%p
  %b Average speed: 
  =h @ride.average_speed

%p
  %b Bike: 
  =h @ride.bike.name unless @ride.bike.nil?

%p
  %b Route: 
  =h @ride.route.name unless @ride.route.nil?

%p
  %b Ride on: 
  =h @ride.ride_on


= link_to 'Edit', edit_ride_path(@ride)
|
= link_to 'Back', rides_path
